package com.itobase.statusDetect.Repository;

import com.itobase.statusDetect.Model.Course;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author htyu
 * @date 2019/2/24
 */
public interface CourseRepository extends MongoRepository<Course,String> {

    Course findByName(String name);
}
